package com.zlc.platform.service;

import com.zlc.common.common.entity.PageVo;
import com.zlc.common.core.resource.model.vo.MayanPlatSystemVo;
import com.zlc.common.model.control.OnlineRequest;
import com.zlc.platform.model.OnlineEntity;
import com.zlc.platform.model.cache.CacheKey;
import com.zlc.platform.model.cache.CacheSystemEntity;
import com.zlc.platform.model.control.AdminControlEntity;
import reactor.core.publisher.Flux;

import java.util.List;
import java.util.Set;

public interface ControlService {


    /**
     * 查询在线用户
     */
    PageVo<OnlineEntity> queryOnlineUserList(OnlineRequest request);

    /**
     * 查询系统监控
     */
    AdminControlEntity  queryAdminControlEntity();

    /**
     * 查询系统监控 sse
     */
    Flux<String>  getAdminControl();

    /**
     * 查询缓存系统列表
     */
    List<CacheSystemEntity> queryCacheSystemList();

    /**
     * 查询redis件
     */
    Set<String> queryRedisKeys(String prefixKey);

    /**
     * 获取redis值
     */
    String getRedisValue(String redisKey);
}
